<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class StudentCourse extends Model
{
    public $timestamps = false;
    protected $table = 'student_courses';
    //
    protected $fillable = [
        's_id', 'c_id','semester_id','color'
    ];
    public function course()
    {
        return $this->hasOne('App\Models\Course','id','c_id');
    }
}
